package com.fakeDYChat.common.user.domain.vo.resp;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
public class ModifyName {
    @NotBlank(message = "名字不能为空")
    @Length(max = 6, message = "名字过长不能保存哦")
    private String name;
}
